package com.iskyonline.skyonlieapp.mapper;

import com.iskyonline.skyonlieapp.entity.KeyValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KeyValueMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(KeyValue record);

    int insertSelective(KeyValue record);

    KeyValue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(KeyValue record);

    int updateByPrimaryKeyWithBLOBs(KeyValue record);

    int updateByPrimaryKey(KeyValue record);

    List<KeyValue> listKeyValue(@Param("valueType") Integer valueType);

    int delKeyValue(@Param("valueType2") Integer valueType2);

    KeyValue getKeyValue(@Param("valueType") Integer valueType);
}